^1640696287475
@
sname
thing
slabel
MetaThingStage3
sdescriptors
xworker.example.tutorial.lession 4.MetaThingStage2
smany
true
seditCols
2
Sdescription
#$@text#$@
<p><strong>作用</strong></p>

<p>MetaDescriptor3是一个常用的元事物，元事物用于定义类型事物，即用于定义对象的类。</p>

<p><strong>类型事物（类）的要素</strong></p>

<ul>
	<li><strong>属性（attribute）</strong><br />
	通过属性（attribute)子节点定义。<br />
	&nbsp;</li>
	<li><strong>子事物（thing)</strong><br />
	子事物也是事物，通过事物(thing)子节点定义。<br />
	&nbsp;</li>
	<li><strong>行为</strong><br />
	通过动作(actions)子节点定义。</li>
</ul>

<p><strong>事物编辑器</strong></p>

<p>&nbsp;&nbsp;&nbsp; 类型事物也用于生成对象事物的编辑器，可以通过事物(thing）节点和属性（attribute)节点控制。</p>
#$@text#$@
sinheritDescription
false
sth_createIndex
true
sth_registThing
child|xworker.lang.util.DescriptorsIndex
sth_registMyChilds
false
sth_registDisabled
false
sgroup
thing
sicon
icons/org/eclipse/swt/widgets/Table.gif
Sen_description
#$@text#$@
<p><strong>Function</strong></p>

<p>&nbsp;&nbsp;&nbsp; MetaDescriptor3 is a often used meta thing. Meta thing is used for create class type thing, class tpye thing is obect&#39;s class.</p>

<p><strong>Class type thing element</strong></p>

<ul>
	<li><strong>attribute</strong><br />
	Use attribute child thing&nbsp; to define&nbsp;attribute.<br />
	&nbsp;</li>
	<li><strong>thing</strong><br />
	Child thing is also a thing, use thing child to define child thing.<br />
	&nbsp;&nbsp;</li>
	<li><strong>actions</strong><br />
	Use actions child thing define behavior.</li>
</ul>

<p><strong>Thing editor</strong></p>

<p>&nbsp;&nbsp;&nbsp; Object type thing&#39;s editor is created by class type thing.</p>

<p>&nbsp;&nbsp;&nbsp; Editor example see Home-&gt;Outline-&gt;SWT Examples-&gt;XWorker app-&gt;Form.</p>
#$@text#$@
sth_mark
false
  @/@name
  sname
  name
  slabel
  Name
  sdescription
  <p>The name of thing.</p>
  szh_label
  名称
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
  szh_description
  <p>事物的名称。</p>
  sid
  name
  @/@label
  sname
  label
  slabel
  Label
  ssize
  50
  sdescription
  <p>The label of thing, used for ui when display a thing.</p>
  szh_label
  标签
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
  szh_description
  <p>事物的标签属性，当显示事物或事物名时通常用标签属性来代替。</p>
  sid
  label
  @/@descriptors
  sname
  descriptors
  slabel
  Descriptors
  ssize
  60
  sinputtype
  dataSelector
  scolspan
  2
  sdescription
  <p>The path of thing's descriptor, if have many descriptors use ',' to devided these paths.</p>
  szh_label
  描述者(类)
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  szh_description
  <p>事物的描述者列表，如果有多个用逗号&quot;,&quot;隔开。</p>
  sth_mark
  false
  sid
  descriptors
  @/@extends
  sname
  extends
  slabel
  Extends
  ssize
  60
  sinputtype
  dataSelector
  scolspan
  2
  sdescription
  <p>The path of thing's extend things, if have many use ',' to devided.</p>
  szh_label
  继承
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
  szh_description
  <p>事物的继承者，如果有多个用逗号&quot;,&quot;隔开。</p>
  sid
  extends
  @/@many
  sname
  many
  slabel
  Manu
  sdefault
  true
  sinputtype
  truefalse
  Sdescription
#$@text#$@
<p>of the things are things where the child appears to allow the number of occurrences up to a meeting or any time. <br />
<br />
This property is similar to the Schema inside the maxOccurs attribute.</p>
#$@text#$@
  szh_label
  允许多个
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
  Szh_description
#$@text#$@
<p>该事物在子事物里出现时允许出现的次数，最多1次或任意次。<br />
<br />
此属性类似Schema里的maxOccurs属性。</p>
#$@text#$@
  sid
  many
  @/@editCols
  sname
  editCols
  slabel
  EditCols
  sdefault
  2
  ssize
  5
  sgroupIndex
  1
  sdescription
  <p> input form while editing the layout of the sub-columns, type the form using a similar TableLayout layout. <br /><br />For xworker.example: edit the column number 2, then the Table is 4, the calculation is (tag line + input component columns) * 2. </ p>
  szh_label
  编辑列数
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
  sth_createIndex
  false
  Szh_description
#$@text#$@
<p>在编辑时输入表单布局的分列数，输入表单使用类似TableLayou（或GridLayout）t的布局。<br />
<br />
比如：编辑列数为2，那么Table是4列，计算方法是（标签列＋输入组件列）*2。</p>
#$@text#$@
  sid
  editCols
  @/@initialization
  sname
  initialization
  slabel
  Initialization
  sdefault
  false
  sinputtype
  truefalse
  sdescription
  If this thing needed to run automatically during loading init behavior.
  szh_label
  初始化
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
  szh_description
  如果此事物在装载时需要自动运行init行为。
  sid
  initialization
  @/@group
  sname
  group
  slabel
  Group
  ssize
  60
  sgroupIndex
  1
  Sdescription
#$@text#$@
<p>When a thing there are many sub-thing, then things will need to add the editor Select things that a child would be more troublesome, it defines a group property, so that things add sub-sub-interface where things can be grouped according to this field. <br />
<br />
Grouping can be a multi-level, multi-level grouping can be ',' numbers separated by, for xworker.example swt.widgets. Adding sub-interface where things are in accordance with multi-level tree structure display.</p>
#$@text#$@
  szh_label
  分组
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
  Szh_description
#$@text#$@
当一个事物有很多个子事物时，那么在事物编辑器里选择需要添加那一个子事物会比较麻烦，因此定义了分组属性，这样在添加子事物的界面里子事物可以按照此字段来分组。<br />
<br />
分组可以是多级的，多级的分组可以用','号隔开，比如swt.widgets。在添加子事物的界面里多级是按照树形结构显示。
#$@text#$@
  sid
  group
  @/@modifier
  sname
  modifier
  slabel
  Modifier
  sdefault
  public
  sinputtype
  select
  sdescription
  <p>类似于Java的作用域，不过还未有相对应的功能实现。</p>
  szh_label
  作用域
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
  sid
  modifier
    @/@modifier/@public
    sname
    public
    slabel
    pulbic
    svalue
    public
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
    sid
    public
    @/@modifier/@private
    sname
    private
    slabel
    private
    svalue
    private
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
    sid
    private
  @/@inheritDescription
  sname
  inheritDescription
  slabel
  继承描述
  sdefault
  false
  sinputtype
  truefalse
  sdescription
  <p>如果本事物没有编写描述（description），那么使用继承的第一个事物的描述。只对thing.getMetadata().getDescription()方法里获取的描述有效。</p>
  sen_label
  ExtendDescription
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  inheritDescription
  @/@modifyAction
  sname
  modifyAction
  slabel
  修改动作
  Sdescription
#$@text#$@
<p>如果不为空，在编辑器里当一个输入控件触发了修改事件，那么会调用该属性指定的本事物的动作。</p>
<p>其中动作上下文是编辑表单的动作上下文，可以直接如下变量访问：</p>
<ul>
    <li><strong>data</strong><br />
    编辑表单的值，通常是map，key是属性名。<br />
    &nbsp;</li>
    <li><strong>model</strong><br />
    编辑表单的Model，可以通过它对整个表单取值、赋值和校验等。<br />
    &nbsp;</li>
    <li><strong>&lt;attributeName&gt;+Input</strong><br />
    属性控件，有可能是swt的Control，也有可能是Thing或ActionContainer，具体看编辑类型。<br />
    &nbsp;</li>
    <li><strong>&lt;attributeName&gt;+Model<br />
    </strong>属性模型，可以通过它对某一个属性取值、赋值和校验等。</li>
</ul>
<p>Model的用法可参看<a href="javascript:invoke('thing:xworker.swt.model.Model')">xworker.swt.model.Model</a>.</p>
#$@text#$@
  sen_label
  ModifyAction
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  modifyAction
  @/@icon
  sname
  icon
  slabel
  图标
  ssize
  60
  scolspan
  2
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  icon
  @/@font
  sname
  font
  slabel
  字体
  ssize
  40
  sinputtype
  fontSelect
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  font
  @/@color
  sname
  color
  slabel
  颜色
  sinputtype
  select
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
  sextends
  xworker.lang.MetaThing/@nodeColor
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  color
  @/@createOpenAction
  sname
  createOpenAction
  slabel
  创建后默认打开动作
  Sdescription
#$@text#$@
<p>新建事物时，如果不为空且在事物管理器中，使用事物管理器的相关方法打开。默认打开的事物编辑器。</p>

<ul>
	<li><strong>thingTab</strong><br />
	使用thingTab方式打开，这是事物是某种功能，或可以不通过事物编辑器就能编辑等。</li>
</ul>

<p>&nbsp;</p>
#$@text#$@
  sen_label
  createOpenAction
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  createOpenAction
  @/@description
  sname
  description
  slabel
  Description
  sinputtype
  html
  scolspan
  2
  sinputattrs
  Width='180';Height='80';ToolbarSet="SwtEdit"
  sdescription
  <p> things, a description of the text. <br /><br />This attribute can be used as caption of things, in the things the editor click the edit box where the title bar to display the corresponding things in this text. </ p>
  szh_label
  描述
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
  Szh_description
#$@text#$@
<p>事物的一段描述文字。<br />
<br />
此属性可以作为事物的说明文字，在事物编辑器里点击编辑框的标题栏可以显示事物对应的此文字。</p>
#$@text#$@
  sid
  description
  @/@notXmlAttribute
  sname
  notXmlAttribute
  slabel
  NotXmlOrJsonAttribute
  sdefault
  false
  sinputtype
  truefalse
  sgroup
  XML&JSON
  Sdescription
#$@text#$@
<p>如果为true表示不是XML的属性或节点，适用于从DTD或Schema导入的结构，再导出XML时用。</p>

<p>见类xworker.lang.xml.XmlUtils。</p>
#$@text#$@
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  notXmlAttribute
  @/@json_isArray
  sname
  json_isArray
  sdefault
  false
  sinputtype
  truefalse
  sgroup
  XML&JSON
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  json_isArray
  @/@attribute
  sname
  attribute
  slabel
  Attribute
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2
  seditCols
  2
  Sdescription
#$@text#$@
<p><strong>作用</strong></p>

<p>&nbsp;&nbsp;&nbsp; 用于定义一个事物的属性，主要是定义类型、默认值和输入方式等。比如人有年龄的属性，那么使用该事物可以定义人的年龄属性。</p>

<p><strong>编辑方式</strong></p>

<p>&nbsp;&nbsp;&nbsp; 属性支持多种编辑方式，如果对某种编辑方式不太了解，最简单获取帮助的方式是先选择这个编辑方式，然后点击输入扩展属性后面的 * 按钮。</p>

<p>&nbsp;&nbsp;&nbsp; 编辑方式的示例可以参看：主页-&gt;Outline-&gt;SWT Examples-&gt;XWorker app-&gt;Form。</p>
#$@text#$@
  szh_label
  属性
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sicon
  icons/javax/swing/JTextField.gif
  Sen_description
#$@text#$@
<p><strong>Function</strong></p>

<p>&nbsp;&nbsp;&nbsp; Used for define a thing&#39;s attribute,&nbsp; mainly define type defaultValue inputtype, etc. For example a person has age attribute,&nbsp;then use attribute thing child to define it.</p>

<p><strong>Input Type</strong></p>

<p>&nbsp;&nbsp;&nbsp; Attribute support many input types,&nbsp; find the help of a input type is select it first, then click the * button behind inputAttributes text.</p>

<p>&nbsp;&nbsp;&nbsp; Input type examples , Home-&gt;Outline-&gt;SWT Examples-&gt;XWorker app-&gt;Form.</p>
#$@text#$@
  sth_mark
  false
  sid
  attribute
    @/@attribute/@name
    sname
    name
    slabel
    Name
    sdescription
    <p> name of the property. </ p>
    szh_label
    名称
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    szh_description
    <p>属性的名称。</p>
    sid
    name
    @/@attribute/@label
    sname
    label
    slabel
    Label
    sdescription
    Attribute label.
    szh_label
    标签
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    szh_description
    属性的标签。
    sid
    label
    @/@attribute/@extends
    sname
    extends
    slabel
    Extends
    ssize
    60
    sinputtype
    dataSelector
    scolspan
    2
    sdescription
    Inherit property, to use if you have multiple inheritance, separate numbers.
    szh_label
    继承
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    szh_description
    继承属性，如果有多个继承用,号隔开。
    sid
    extends
    @/@attribute/@type
    sname
    type
    slabel
    Type
    sinputtype
    select
    sdescription
    <p> type of property. <br /><br />When the property is of type bytes and the object type, property description of the edit control from the properties of those definitions (need to provide access and set the value of the data model, see the swt's Model), when the type of object serialization to save only on the value. </ p>
    szh_label
    类型
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    Szh_description
#$@text#$@
<p>属性的类型。<br />
<br />
当属性的类型为bytes和object类型时，属性的编辑控件由属性的描述者定义（需提供访问和设置值的数据模型，见swt的Model），当类型为object时只保存序列化的值。</p>
#$@text#$@
    sid
    type
      @/@attribute/@type/@string
      sname
      string
      slabel
      string
      svalue
      string
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      string
      @/@attribute/@type/@bigDecimal
      sname
      bigDecimal
      slabel
      bigDecimal
      svalue
      bigDecimal
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      bigDecimal
      @/@attribute/@type/@bigInteger
      sname
      bigInteger
      slabel
      bigInteger
      svalue
      bigInteger
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      bigInteger
      @/@attribute/@type/@boolean
      sname
      boolean
      slabel
      boolean
      svalue
      boolean
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      boolean
      @/@attribute/@type/@byte
      sname
      byte
      slabel
      byte
      svalue
      byte
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      byte
      @/@attribute/@type/@bytes
      sname
      bytes
      slabel
      byte[]
      svalue
      bytes
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      bytes
      @/@attribute/@type/@char
      sname
      char
      slabel
      char
      svalue
      char
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      char
      @/@attribute/@type/@date
      sname
      date
      slabel
      date
      svalue
      date
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      date
      @/@attribute/@type/@double
      sname
      double
      slabel
      double
      svalue
      double
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      double
      @/@attribute/@type/@float
      sname
      float
      slabel
      float
      svalue
      float
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      float
      @/@attribute/@type/@int
      sname
      int
      slabel
      int
      svalue
      int
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      int
      @/@attribute/@type/@long
      sname
      long
      slabel
      long
      svalue
      long
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      long
      @/@attribute/@type/@short
      sname
      short
      slabel
      short
      svalue
      short
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      short
      @/@attribute/@type/@object
      sname
      object
      slabel
      object
      svalue
      object
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      object
    @/@attribute/@inputtype
    sname
    inputtype
    slabel
    InputType
    sinputtype
    inputSelect
    Sdescription
#$@text#$@
<p><strong>输入方式</strong></p>

<p>在这里选择属性的编辑方式。</p>

<p><strong>定制输入方式和获取帮助</strong></p>

<p>点击扩展输入属性后的*按钮，会根据选择的输入方法弹出扩充输入属性或帮助等。</p>

<p><strong>如何定义新的输入方式</strong></p>

<ul>
	<li><strong>注册新的输入控件</strong><br />
	在<a href="javascript:void(0)" onclick="invoke('thing:xworker.swt.xworker.attributeEditor.EditorConfig')">xworker.swt.xworker.attributeEditor.EditorConfig</a>中添加新的输入控件。<br />
	&nbsp;</li>
	<li><strong>额外的输入控件属性设置</strong><br />
	在<a href="#" onclick="invoke('thing:xworker.swt.xworker.attributeEditor.OpenWindows')">xworker.swt.xworker.attributeEditor.OpenWindows</a>添加输入控件的设置窗口。</li>
</ul>
#$@text#$@
    szh_label
    输入方式
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sth_createIndex
    false
    Sen_description
#$@text#$@
<p>Property edit control definitions. <br />
<br />
Extended attributes can be defined within the input edit control more parameters.</p>
#$@text#$@
    sid
    inputtype
      @/@attribute/@inputtype/@text
      sname
      text
      slabel
      Text
      svalue
      text
      szh_label
      文本框
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      text
      @/@attribute/@inputtype/@textarea
      sname
      textarea
      slabel
      TextArea
      svalue
      textarea
      szh_label
      文本区
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      textarea
      @/@attribute/@inputtype/@label
      sname
      label
      slabel
      标签
      svalue
      label
      sen_label
      Label
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      label
      @/@attribute/@inputtype/@select
      sname
      select
      slabel
      Select
      svalue
      select
      szh_label
      下拉选择框
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      select
      @/@attribute/@inputtype/@multSelect
      sname
      multSelect
      slabel
      下拉多选框
      svalue
      multSelect
      sen_label
      MultiSelect
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      multSelect
      @/@attribute/@inputtype/@inputSelect
      sname
      inputSelect
      slabel
      输入下拉框
      svalue
      inputSelect
      sen_label
      InputSelect
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sth_createIndex
      false
      sid
      inputSelect
      @/@attribute/@inputtype/@treeSelector
      sname
      treeSelector
      slabel
      树形下拉选择框
      svalue
      treeSelector
      sen_label
      TreeSelect
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      treeSelector
      @/@attribute/@inputtype/@popCombo
      sname
      popCombo
      slabel
      下拉弹出窗口
      svalue
      popCombo
      sen_label
      PopCombo
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      popCombo
      @/@attribute/@inputtype/@truefalse
      sname
      truefalse
      slabel
      TrueFalse
      svalue
      truefalse
      szh_label
      真假
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      truefalse
      @/@attribute/@inputtype/@truefalseselect
      sname
      truefalseselect
      slabel
      真假下拉框
      svalue
      truefalseselect
      sen_label
      TrueFalseSelect
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      truefalseselect
      @/@attribute/@inputtype/@checkBox
      sname
      checkBox
      slabel
      CheckBox
      svalue
      checkBox
      szh_label
      复选框
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      checkBox
      @/@attribute/@inputtype/@radio
      sname
      radio
      slabel
      Radio
      svalue
      radio
      szh_label
      单选按钮
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      radio
      @/@attribute/@inputtype/@html
      sname
      html
      slabel
      Html
      svalue
      html
      szh_label
      HTML文档输入
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      html
      @/@attribute/@inputtype/@htmlDesc
      sname
      htmlDesc
      slabel
      HTML说明
      svalue
      htmlDesc
      sen_label
      HTML Doc
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      htmlDesc
      @/@attribute/@inputtype/@hidden
      sname
      hidden
      slabel
      Hidden
      svalue
      hidden
      szh_label
      隐藏输入
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      hidden
      @/@attribute/@inputtype/@password
      sname
      password
      slabel
      Password
      svalue
      password
      szh_label
      密码框
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      password
      @/@attribute/@inputtype/@datePick
      sname
      datePick
      slabel
      DatePicker
      svalue
      datePick
      szh_label
      日期选择器
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      datePick
      @/@attribute/@inputtype/@dateTime
      sname
      dateTime
      slabel
      日期时间输入
      svalue
      dateTime
      sen_label
      DateTime
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      dateTime
      @/@attribute/@inputtype/@time
      sname
      time
      slabel
      时间输入
      svalue
      time
      sen_label
      Time
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      time
      @/@attribute/@inputtype/@openWindow
      sname
      openWindow
      slabel
      弹出窗口
      svalue
      openWindow
      sen_label
      OpenWindow
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      openWindow
      @/@attribute/@inputtype/@textButton
      sname
      textButton
      slabel
      文本框按钮
      svalue
      textButton
      sen_label
      TextButton
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      textButton
      @/@attribute/@inputtype/@dataSelector
      sname
      dataSelector
      slabel
      ThingSelector
      svalue
      dataSelector
      szh_label
      事物选择器
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      dataSelector
      @/@attribute/@inputtype/@pathSelector
      sname
      pathSelector
      slabel
      PathSelector
      svalue
      pathSelector
      szh_label
      路径选择器
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      pathSelector
      @/@attribute/@inputtype/@codeEditor
      sname
      codeEditor
      slabel
      CodeEditor
      svalue
      codeEditor
      szh_label
      代码编辑器
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      codeEditor
      @/@attribute/@inputtype/@fontSelect
      sname
      fontSelect
      slabel
      FontSelector
      svalue
      fontSelect
      szh_label
      字体选择器
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      fontSelect
      @/@attribute/@inputtype/@colorpicker
      sname
      colorpicker
      slabel
      ColorPicker
      svalue
      colorpicker
      szh_label
      颜色选择器
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sid
      colorpicker
      @/@attribute/@inputtype/@imageSelector
      sname
      imageSelector
      slabel
      图片选择器
      svalue
      imageSelector
      sen_label
      ImageSelet
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      imageSelector
      @/@attribute/@inputtype/@file
      sname
      file
      slabel
      文件选择器
      svalue
      file
      sen_label
      FileSelect
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      file
      @/@attribute/@inputtype/@filePath
      sname
      filePath
      slabel
      文件路径选择器
      svalue
      filePath
      sen_label
      FilePathSelect
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      filePath
      @/@attribute/@inputtype/@selfDefined
      sname
      selfDefined
      slabel
      自定义的
      svalue
      selfDefined
      sen_label
      Self Defined
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sth_createIndex
      false
      sid
      selfDefined
      @/@attribute/@inputtype/@inputAttrDefined
      sname
      inputAttrDefined
      slabel
      输入扩展属性指定的
      svalue
      inputAttrDefined
      sen_label
      Input Attribute Defined
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sth_createIndex
      false
      sid
      inputAttrDefined
      @/@attribute/@inputtype/@dataObjectSelector
      sname
      datatable
      slabel
      数据表格
      svalue
      datatable
      sen_label
      DataTable
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      dataObjectSelector
    @/@attribute/@showLabel
    sname
    showLabel
    slabel
    显示标签
    sdefault
    true
    sinputtype
    truefalse
    sdescription
    <p>如果设置成false，那么在生成的表单里不显示该标签。</p>
    sen_label
    LabelVisible
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    showLabel
    @/@attribute/@pattern
    sname
    pattern
    slabel
    Pattern
    sdescription
    Attribute format, such as yyyy-MM-dd.
    szh_label
    模式
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    szh_description
    属性的格式，如yyyy-MM-dd。
    sid
    pattern
    @/@attribute/@size
    sname
    size
    slabel
    Size
    ssize
    5
    sdescription
    <p>编辑器的长度，不是像素，一个单位相当于一个字符的宽度。</p>
    szh_label
    长度
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sth_createIndex
    false
    sid
    size
    @/@attribute/@rowspan
    sname
    rowspan
    slabel
    Rowspan
    ssize
    5
    sgroupIndex
    1
    sdescription
    <p> property editor control to edit the page layout in the share of the number of rows. </ p>
    szh_label
    跨行
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    szh_description
    <p>属性编辑控件在编辑页面布局中所占的行数。</p>
    sid
    rowspan
    @/@attribute/@colspan
    sname
    colspan
    slabel
    Colspan
    ssize
    5
    sgroupIndex
    1
    sdescription
    Property editor control to edit the page layout when the number of columns occupied.
    szh_label
    跨列
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    szh_description
    属性编辑控件在编辑页面布局时所占的列数。
    sid
    colspan
    @/@attribute/@group
    sname
    group
    slabel
    Group
    ssize
    40
    sgroupIndex
    1
    sdescription
    <p> attribute in the edit form inside the packet. </ p>
    szh_label
    分组
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    szh_description
    <p>属性在编辑表单里的分组。</p>
    sid
    group
    @/@attribute/@groupIndex
    sname
    groupIndex
    slabel
    GroupIndex
    sgroupIndex
    1
    sdescription
    <p> decided that the group has an index of the sort. </ p>
    szh_label
    分组索引
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    szh_description
    <p>决定这个分组的排序先后的索引。</p>
    sid
    groupIndex
    @/@attribute/@subGroup
    sname
    subGroup
    slabel
    子分组
    sen_label
    GroupChild
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    subGroup
    @/@attribute/@inputattrs
    sname
    inputattrs
    slabel
    InputAttributes
    ssize
    66
    sinputtype
    openWindow
    scolspan
    2
    sgroupIndex
    1
    sinputattrs
    xworker.swt.xworker.attributeEditor.OpenWindows
    sdescription
    You can enter some input control's properties to increase the control of the properties, such as text input methods can increase the expansion of district property: rows = "3" cols = "80". <br /><br />Generally extended attributes are as follows: <br />Code Editor: codeName, codeTpye, wrap, such as: codeName = Java codeType = Java. <br /><br />Text Area: wrap
    szh_label
    输入扩展属性
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sth_createIndex
    false
    Szh_description
#$@text#$@
<p>属性编辑器可能会需要更多参数，可以在输入扩展属性中指定这些参数。</p>
<p>可以通过点击输入扩展属性输入框后面的*号按钮来打开编辑参数的窗口，编辑参数的窗口根据选择的输入方式弹出相对应的编辑窗口。</p>
#$@text#$@
    sid
    inputattrs
    @/@attribute/@readOnly
    sname
    readOnly
    slabel
    是否只读
    sdefault
    false
    sinputtype
    truefalse
    Sdescription
#$@text#$@
<p>通常是指编辑控件事物可编辑。</p>
<p>对有些编辑器，如一个Text框加一个按钮的，点击按钮弹出窗口的，Text可能是只读的，但通过按钮的功能还是可以编辑的。</p>
#$@text#$@
    sen_label
    ReadOnly
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    readOnly
    @/@attribute/@propertyName
    sname
    propertyName
    slabel
    值显示名称
    sdescription
    <p>默认情况下值名称是何属性名一致的，如果该属性要显示其他字段或者其他字段的组合（使用Ognl表达式），那么可以在此字段里指定。</p>
    sen_label
    ValueVisible
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    propertyName
    @/@attribute/@reserve
    sname
    reserve
    slabel
    Reserve
    ssize
    60
    scolspan
    2
    sdescription
    <p> reserved field. </ p>
    szh_label
    保留
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    szh_description
    <p>保留字段。</p>
    sid
    reserve
    @/@attribute/@default
    sname
    default
    slabel
    Default
    sinputtype
    textarea
    scolspan
    2
    sdescription
    <p>Attribute default value. If the attribute can be null don't set default value, because null means default.</p>
    szh_label
    默认值
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sth_createIndex
    false
    szh_description
    <p>属性的默认值，如果属性可以为空，那么不要设置默认值，因为空的值在从存储中读取时认为是默认值。</p>
    sid
    default
    @/@attribute/@inheritDescription
    sname
    inheritDescription
    slabel
    继承描述
    sdefault
    false
    sinputtype
    truefalse
    sdescription
    <p>如果本事物没有编写描述（description），那么使用继承的第一个事物的描述。只对thing.getMetadata().getDescription()方法里获取的描述有效。</p>
    sen_label
    ExtendDescription
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    inheritDescription
    @/@attribute/@description
    sname
    description
    slabel
    Description
    sinputtype
    html
    srowspan
    1
    scolspan
    2
    sdescription
    A text description of the property. In the Edit with the things described in this structure, when the mouse move on the label in the properties of things, it would have tol tip of the display.
    szh_label
    描述
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    szh_description
    属性的一段文字描述。在编辑用这个结构描述的事物时，当鼠标移动在事物的属性标签上时会以tol tip的方式显示。
    sid
    description
    @/@attribute/@value
    sname
    value
    slabel
    Value
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2
    sdescription
    When the properties of the input method is the drop-down selection box, check box, or enter a choice, optional value is to provide candidates for the value.
    szh_label
    可选值
    szh_description
    当属性的输入方式是下拉选择框、复选框或者输入选择时，可选值提供候选值。
    sid
    value
      @/@attribute/@value/@name
      sname
      name
      slabel
      Name
      szh_label
      名称
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
      sid
      name
      @/@attribute/@value/@label
      sname
      label
      slabel
      Label
      szh_label
      标签
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
      sid
      label
      @/@attribute/@value/@value
      sname
      value
      slabel
      Value
      ssize
      60
      scolspan
      2
      szh_label
      值
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
      sid
      value
      @/@attribute/@value/@value1
      sname
      value
      slabel
      可选值
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2
      sextends
      xworker.lang.MetaDescriptor3/@attribute/@value
      sth_createIndex
      false
      sid
      value1
    @/@attribute/@SwtObject
    sname
    SwtObject
    slabel
    SwtObject
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2
    seditCols
    2
    sdescription
    <p> Set SWT edit control things. </ p>
    szh_label
    SWT编辑设置
    sth_createIndex
    false
    szh_description
    <p>设置属性的SWT编辑器。</p>
    sid
    SwtObject
      @/@attribute/@SwtObject/@inputExtend
      sname
      inputExtend
      slabel
      InputExtend
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2
      sextends
      xworker.swt.Commons
      seditCols
      2
      Sdescription
#$@text#$@
<p> in the SWT editing, over-the things that can be further expanded property editor control functions, this thing is equivalent to SWT things. </ p>
<p> edit control when the property has been created, it will call the create method of this thing, this time can be variable paren to access the properties of the corresponding edit control. . </ p>
<p> created when the action attribute contains the property editor control, context variables, but also includes some default initial Face: </ p>
<ul>
    <li> explorerActions: your browser's Action List. </ li>
    <li> explorerContext: the browser action context. </ li>
    <li> thingContext: the current context of things, editing actions. </ li>
</ ul>
#$@text#$@
      szh_label
      输入扩充
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      Szh_description
#$@text#$@
<p>在SWT编辑时，过本事物可以进一步扩充属性编辑控件的功能，本事物相当于SWT的事物。</p>

<p><strong>create方法</strong></p>

<p>&nbsp;&nbsp;&nbsp; 当属性的编辑控件已经创建后，会调用本事物的create方法，此时可以变量paren来访问相对应的属性编辑控件。。</p>

<p><strong>变量上下文</strong></p>

<p>&nbsp;&nbsp;&nbsp; 变量上下文使用创建属性编辑器是的变量上下文，创建属性时的动作上下文包含属性编辑控件的变量，也包含一些默认初始的变脸：</p>

<ul>
	<li>explorerActions：浏览器的动作列表。</li>
	<li>explorerContext：浏览器的动作上下文。</li>
	<li>thingContext：当前事物编辑动作上下文。</li>
	<li>xxxInput：xxx属性的输入控件，一般是SWT控件，不过也有可能是其他类型。</li>
	<li>xxxModel：xxx属性的模型，可以通过它获取控件的值。</li>
</ul>
#$@text#$@
      sth_mark
      false
      sid
      inputExtend
      @/@attribute/@SwtObject/@inputEditor
      sname
      inputEditor
      slabel
      InputEditor
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2
      sextends
      xworker.lang.MetaDescriptor3Actions,xworker.swt.Widgets
      seditCols
      2
      Sdescription
#$@text#$@
<p>自定义的属性编辑器。</p>
<p>通过调用此事物的create方法创建属性编辑器，调用createModel方法创建Model。</p>
<p>调用create方法和createModel方法使用创建属性编辑器的公共动作上下文，当调用create方法时会传入gridData(xworker.core.ui.layout.GridData)变量，调用createModel会传入attribute变量（当前属性）。</p>
#$@text#$@
      szh_label
      输入编辑器
      sth_createIndex
      false
      Sen_description
#$@text#$@
<p>custom property editor.</p>
<p>this thing by calling the create method to create property editors, call createModel method to create Model.</p>
<p>call the create method and createModel ways to use property editors to create the context of public action, when the create method is called when the incoming gridData (xworker.core.ui.layout.GridData) variables, called createModel will be passed attribute variables (current property) .</p>
#$@text#$@
      sid
      inputEditor
      @/@attribute/@SwtObject/@inputModel
      sname
      inputModel
      slabel
      InputModel
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2
      sextends
      xworker.swt.model.Model
      seditCols
      2
      Sdescription
#$@text#$@
<p> Model's role is assigned to the edit control, value, and checking and so on. </ p>
<p> property editor Model, the definition of this node, if the things, it will be replaced by any other means to create the properties of Model. </ p>
#$@text#$@
      szh_label
      输入模型
      Szh_description
#$@text#$@
<p>Model的作用在于对编辑控件赋值、取值和校验等。</p>
<p>属性编辑器的Model，如果定义此节点事物，那么会替代通过其他任何方式创建的属性Model。</p>
#$@text#$@
      sid
      inputModel
    @/@attribute/@actions
    sname
    actions
    slabel
    Actions
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2
    sextends
    xworker.lang.actions.Actions
    smany
    true
    seditCols
    2
    Sdescription
#$@text#$@
<p>添加属性的行为。</p>
<p>属性的行为一般在编辑器中使用，如校验等。</p>
#$@text#$@
    szh_label
    动作
    sid
    actions
      @/@attribute/@actions/@name
      sname
      name
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
      sid
      name
    @/@attribute/@actions1
    sname
    actions
    sdescriptors
    xworker.lang.MetaDescriptor2/@actions
    sth_createIndex
    false
    sid
    actions1
    @/@attribute/@validateAllowBlank
    sname
    validateAllowBlank
    slabel
    允许为空
    sdefault
    true
    sinputtype
    truefalse
    sgroup
    Validate
    sdescription
    <p>是否允许为空。</p>
    sen_label
    AllowBlank
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    validateAllowBlank
    @/@attribute/@24889
    sname
    blankText
    slabel
    为空的提示
    stype
    string
    ssize
    60
    scolspan
    2
    sgroup
    Validate
    Sdescription
#$@text#$@
<p>The error text to display if the <b><tt><a ext:cls="Ext.form.TextField" ext:member="allowBlank" href="output/Ext.form.TextField.html#Ext.form.TextField-allowBlank">allowBlank</a></tt></b> validation fails (defaults to <tt>'This field is required'</tt>)</p>
<p>可以使用Freemarker模板。</p>
#$@text#$@
    sen_label
    MessageOfBlank
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    24889
    @/@attribute/@24798
    sname
    invalidClass
    slabel
    错误样式
    stype
    string
    sgroup
    Validate
    Sdescription
#$@text#$@
<p>当属性校验失败时的样式，可以是样式名称或样式的路径。</p>
<p>如果样式找不到，那么使用Model定义的错误样式。由于存在当错误去除时样式要返回原先的样式的问题，但目前没有办法保存原先的样式（有可能原先就没有样式），所以在错误样式中目前只支持背景色、字体、字体颜色、图片、提示语等的恢复。</p>
<p>在不同的编辑器里有不同的解释，以上为XWorker表单的解释方式。</p>
#$@text#$@
    sen_label
    ErrorStyle
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    24798
    @/@attribute/@24799
    sname
    invalidText
    slabel
    错误提示
    stype
    string
    ssize
    60
    scolspan
    2
    sgroup
    Validate
    Sdescription
#$@text#$@
<div class="short">The error text to use when marking a field invalid and no message is provided
(defaults to 'The value in this field i...
#$@text#$@
    sen_label
    ErrorMessage
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    24799
    @/@attribute/@24807
    sname
    validateOnBlur
    slabel
    失去焦点时校验
    stype
    boolean
    sdefault
    true
    sinputtype
    truefalse
    sgroup
    Validate
    sdescription
    Whether the field should validate when it loses focus (defaults to true).
    sen_label
    ValidateOnLostFocus
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    24807
    @/@attribute/@24808
    sname
    validationDelay
    slabel
    校验延迟
    stype
    number
    sgroup
    Validate
    Sdescription
#$@text#$@
The length of time in milliseconds after user input begins until validation
is initiated (defaults to 250)
#$@text#$@
    sen_label
    ValidateDelay
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    24808
    @/@attribute/@24898
    sname
    maxLength
    slabel
    最大长度
    stype
    number
    sgroup
    Validate
    Sdescription
#$@text#$@
<div class="short">Maximum input field length allowed by validation (defaults to Number.MAX_VALUE).
This behavior is intended to provide...
#$@text#$@
    sen_label
    MaxLength
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    24898
    @/@attribute/@24900
    sname
    minLength
    slabel
    最小长度
    stype
    number
    sgroup
    Validate
    sdescription
    Minimum input field length required (defaults to <tt>0</tt>)
    sen_label
    MinLength
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    24900
    @/@attribute/@24902
    sname
    regex
    slabel
    正则表达式
    stype
    regexp
    ssize
    40
    scolspan
    2
    sgroup
    Validate
    Sdescription
#$@text#$@
<div class="short">A JavaScript RegExp object to be tested against the field value during validation
(defaults to null). If the test fai...
#$@text#$@
    sen_label
    Regex
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    24902
    @/@attribute/@regexText
    sname
    regexText
    slabel
    正则表达式提示
    ssize
    60
    scolspan
    2
    sgroup
    Validate
    sen_label
    RegexMessage
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    regexText
    @/@attribute/@24858
    sname
    allowDecimals
    slabel
    允许小数
    stype
    boolean
    sdefault
    true
    sinputtype
    truefalse
    sgroup
    Validate
    sdescription
    False to disallow decimal values (defaults to true)
    sen_label
    AllowDecimals
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    24858
    @/@attribute/@24859
    sname
    allowNegative
    slabel
    允许负数
    stype
    boolean
    sdefault
    true
    sinputtype
    truefalse
    sgroup
    Validate
    sdescription
    False to prevent entering a negative sign (defaults to true)
    sen_label
    AllowNegative
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    24859
    @/@attribute/@24916
    sname
    maxValue
    slabel
    最大值
    stype
    date/string
    sgroup
    Validate
    Sdescription
#$@text#$@
<div class="short">The maximum allowed time. Can be either a Javascript date object with a valid time value or a string
time in a valid ...
#$@text#$@
    sen_label
    MaxValue
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    24916
    @/@attribute/@24918
    sname
    minValue
    slabel
    最小值
    stype
    date/string
    sgroup
    Validate
    Sdescription
#$@text#$@
<div class="short">The minimum allowed time. Can be either a Javascript date object with a valid time value or a string
time in a valid ...
#$@text#$@
    sen_label
    MinValue
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    24918
    @/@attribute/@validationAction
    sname
    validationAction
    slabel
    校验方法
    ssize
    60
    scolspan
    2
    sgroup
    Validate
    sdescription
    <p>执行校验的动作的事物路径。默认是Model实现的校验方法。</p>
    sen_label
    ValidateAction
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    validationAction
    @/@attribute/@DataStore
    sname
    DataStore
    slabel
    数据仓库
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2
    sextends
    xworker.swt.app.view.swt.data.DataStore
    smany
    false
    seditCols
    2
    Sdescription
#$@text#$@
<p>为Select等提供可选数据的数据仓库。</p>

<p>优先使用属性数据仓库的设置。</p>

<p>&nbsp;</p>
#$@text#$@
    sen_label
    DataStore
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    DataStore
    @/@attribute/@modifyAction
    sname
    modifyAction
    slabel
    修改动作
    sgroup
    EditorEvent
    Sdescription
#$@text#$@
<p>如果不为空，在编辑器里当一个输入控件触发了修改事件，那么会调用该属性指定的本事物的动作。</p>
<p>其中动作上下文是编辑表单的动作上下文，可以直接如下变量访问：</p>
<ul>
    <li><strong>data</strong><br />
    编辑表单的值，通常是map，key是属性名。<br />
    &nbsp;</li>
    <li><strong>model</strong><br />
    编辑表单的Model，可以通过它对整个表单取值、赋值和校验等。<br />
    &nbsp;</li>
    <li><strong>&lt;attributeName&gt;+Input</strong><br />
    属性控件，有可能是swt的Control，也有可能是Thing或ActionContainer，具体看编辑类型。<br />
    &nbsp;</li>
    <li><strong>&lt;attributeName&gt;+Model<br />
    </strong>属性模型，可以通过它对某一个属性取值、赋值和校验等。</li>
</ul>
#$@text#$@
    sen_label
    ModifyAction
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    modifyAction
    @/@attribute/@modifyStoreListener
    sname
    modifyStoreListener
    slabel
    修改监听
    sgroup
    EditorEvent
    Sdescription
#$@text#$@
<p>可以指定一个或者多个其他属性名，当本属性的值发生修改时调用其他属性的DataStore的重新装载事件。</p>
<p>以上可以实现控件的联动，如多个小拉列表之间的联动。</p>
#$@text#$@
    sen_label
    ModifyStoreListener
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    modifyStoreListener
    @/@attribute/@dataStore
    sname
    dataStore
    slabel
    数据仓库
    ssize
    60
    sgroup
    DataStore
    Sdescription
#$@text#$@
<p><strong>数据仓库的作用</strong></p>

<p>可以作为下拉列表、多选框等的数据源。</p>

<p><strong>设定方法</strong></p>

<p>值可以是数据仓库的路径。</p>

<p><strong>全局和本地</strong></p>

<p>在此字段设置的数据仓库全部为全局应用，在子节点设置数据仓库为本地。</p>
#$@text#$@
    sen_label
    DataStore
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    dataStore
    @/@attribute/@notXmlAttribute
    sname
    notXmlAttribute
    slabel
    NotXmlOrJsonAttribute
    sdefault
    false
    sinputtype
    truefalse
    sgroup
    XML&JSON
    Sdescription
#$@text#$@
<p>如果为true表示不是XML的属性或节点，将不会生成到XML中。</p>

<p>见类xworker.lang.xml.XmlUtils。</p>

<p><strong>JSON或其他格式</strong></p>

<p>&nbsp;&nbsp;&nbsp; 某些生成JSON或其他格式的工具也使用这个属性。</p>
#$@text#$@
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    notXmlAttribute
    @/@attribute/@xmlType
    sname
    xmlGenerateType
    sinputtype
    select
    sgroup
    XML&JSON
    sdescription
    <p>写入的类型，如果是CDATA生成&lt;attributename&gt;&lt;!CDATA[...]]&gt;&lt;/attributename&gt;，如果是TEXT生成&lt;attributename&gt;....&lt;/attributename&gt;。</p>
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    xmlType
      @/@attribute/@xmlType/@CDATA
      sname
      CDATA
      svalue
      CDATA
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      CDATA
      @/@attribute/@xmlType/@TEXT
      sname
      TEXT
      svalue
      TEXT
      sdescriptors
      xworker.example.tutorial.lession 4.MetaThingStage2/@attribute/@value
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      TEXT
  @/@thing
  sname
  thing
  slabel
  Thing
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage3
  sextends
  xworker.lang.MetaDescriptor3
  smany
  true
  seditCols
  2
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p><strong>子事物</strong></p>

<p>&nbsp;&nbsp;&nbsp; 子事物也是事物，用于添加到父事物的子节点下。比如儿女可以是人的子事物，那么可以在人这个事物下定义儿女这个子事物。</p>

<p>&nbsp;&nbsp;&nbsp; 使用方法同事物。</p>
#$@text#$@
  szh_label
  事物
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  Sen_description
#$@text#$@
<p><strong>Child Thing</strong></p>

<p>&nbsp;&nbsp;&nbsp; Child thing ia also a thing, can added to parent thing. For example, a person can have a child, then use child thing to define it.</p>

<p>&nbsp;&nbsp;&nbsp; The use method is same as Thing.</p>
#$@text#$@
  sth_mark
  false
  sid
  thing
  @/@actions
  sname
  actions
  slabel
  Actions
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2
  sextends
  xworker.lang.actions.Actions
  smany
  true
  seditCols
  2
  Sdescription
#$@text#$@
<p><strong>动作集合</strong></p>

<p>&nbsp;&nbsp;&nbsp; 通过动作可以定义事物的行为，事物的行为即动作，可以用多种语言和方式编写。</p>

<p><strong>self变量</strong></p>

<p>&nbsp;&nbsp;&nbsp; 当一个动作作为一个事物的行为执行时，会把该事物以self变量传给动作。</p>

<p><strong>第一个动作集合生效</strong></p>

<p>&nbsp;&nbsp;&nbsp; 只有事物的第一个actions子节点才被认为是行为的定义集合，第二个及以后不算。</p>
#$@text#$@
  szh_label
  动作
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  Sen_description
#$@text#$@
<p><strong>Actions</strong></p>

<p>&nbsp;&nbsp;&nbsp; Use actions can define behaviors of the&nbsp;thing. Behavior is action, can be defined by many program languages or other things.</p>

<p><strong>Variable self</strong></p>

<p>&nbsp;&nbsp;&nbsp; When a action is executed as a behavior, in the actionContext will have a virable named &#39;self&#39;, self like this in java, self is it&#39;s onwer thing.</p>

<p><strong>First actions is validate</strong></p>

<p>&nbsp;&nbsp;&nbsp; Only first actions node is behaviros collections.</p>
#$@text#$@
  sth_mark
  false
  sid
  actions
    @/@actions/@name
    sname
    name
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sid
    name
  @/@SwtObject
  sname
  SwtEditSetting
  slabel
  SwtEditSetting
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2
  Sdescription
#$@text#$@
<p> things custom editor. </ p>
things <p> system default editor is ui: local: swt.xworker.ThingDescritporForm. </ p>
#$@text#$@
  szh_label
  SWT编辑设置
  Szh_description
#$@text#$@
<p>自定义的事物编辑器。</p>
<p>系统默认的事物编辑器是xworker.swt.xworker.ThingDescritporForm。</p>
#$@text#$@
  sid
  SwtObject
    @/@SwtObject/@SwtEditor
    sname
    SwtEditor
    slabel
    SwtEditor
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2
    sextends
    xworker.lang.MetaDescriptor3Actions,xworker.swt.Widgets
    seditCols
    2
    Sdescription
#$@text#$@
<p>自定义的事物SWT编辑器。</p>

<p>编辑器包含两个要素，一个是编辑控件，另外一个是数据模型，这里约定第一个子事物为控件，第二个子事物为模型定义。</p>

<p><strong>注意：</strong></p>

<p>数据模型应该返回的是一个Map。</p>
#$@text#$@
    szh_label
    SWT编辑器
    sth_createIndex
    false
    sth_mark
    false
    sid
    SwtEditor
    @/@SwtObject/@SwtEditorExtends
    sname
    SwtEditorExtends
    slabel
    SwtEditorExtends
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2
    sextends
    xworker.swt.widgets.Composite
    sdescription
    <p> SWT control to expand while the editor has inherited Composite, but the actual use only Composite sub-things. </ p>
    szh_label
    SWT编辑器输入扩充
    szh_description
    <p>SWT编辑器控件扩充虽然继承了Composite，但实际只使用Composite的子事物。</p>
    sid
    SwtEditorExtends
    @/@SwtObject/@showMenu
    sname
    showMenu
    slabel
    ShowMenu
    sdefault
    true
    sinputtype
    truefalse
    szh_label
    是否显示菜单
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2/@attribute
    sid
    showMenu
  @/@swtMenus
  sname
  sswtMenus
  slabel
  SwtMenus
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2
  sdescription
  <p> by SWT edit the time and the things associated with the definition of the menu. </ p>
  szh_label
  Swt菜单集合
  szh_description
  <p>通过SWT方式编辑时和此事物关联的菜单定义。</p>
  sid
  swtMenus
    @/@swtMenus/@menuSetting
    sname
    menuSetting
    slabel
    MenuSetting
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2
    sextends
    xworker.lang.ThingMenu/@menuSetting
    smany
    true
    seditCols
    2
    sdescription
    <p>定义属于根菜单的子菜单。</p>
    szh_label
    菜单设置
    sid
    menuSetting
    @/@swtMenus/@menuDefine
    sname
    menuDefine
    slabel
    MenuDefine
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2
    sextends
    xworker.lang.ThingMenu/@menuDefine
    smany
    true
    seditCols
    2
    sdescription
    <p>定义根菜单，如文件、编辑、帮助等。</p>
    szh_label
    菜单定义
    sid
    menuDefine
    @/@swtMenus/@7703
    sname
    thing
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    7703
  @/@htmlMenus
  sname
  htmlMenus
  slabel
  HtmlMenus
  sdescriptors
  xworker.example.tutorial.lession 4.MetaThingStage2
  sdescription
  <p> way through the HTML editing, and things associated with this menu definition. </ p>
  szh_label
  Html菜单集合
  szh_description
  <p>通过HTML方式编辑时和此事物关联的菜单定义。</p>
  sid
  htmlMenus
    @/@htmlMenus/@menuSetting
    sname
    menuSetting
    slabel
    MenuSetting
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2
    sextends
    xworker.lang.ThingMenu/@menuSetting
    szh_label
    菜单设置
    sid
    menuSetting
    @/@htmlMenus/@menuDefine
    sname
    menuDefine
    slabel
    MenuDefine
    sdescriptors
    xworker.example.tutorial.lession 4.MetaThingStage2
    sextends
    xworker.lang.ThingMenu/@menuDefine
    szh_label
    菜单集合
    sid
    menuDefine
  @/@swtMenus1
  sname
  swtMenus
  slabel
  swtMenus
  sdescriptors
  xworker.lang.MetaDescriptor3/@swtMenus
  sid
  swtMenus1
    @/@swtMenus1/@menuDefine
    sname
    menuDefine
    slabel
    menuDefine
    sdescriptors
    xworker.lang.MetaDescriptor3/@swtMenus/@menuDefine
    sid
    menuDefine
      @/@swtMenus1/@menuDefine/@MetaDescriptor
      sname
      MetaDescriptor
      slabel
      元事物
      sen_label
      MetaThing
      sdescriptors
      xworker.lang.ThingMenu/@menuDefine/@menu
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      MetaDescriptor
    @/@swtMenus1/@runShell
    sname
    runShell
    stype
    data
    smenuType
    MetaDescriptor
    slabel
    runShell
    sdescriptors
    xworker.lang.MetaDescriptor3/@swtMenus/@menuSetting
    sid
    runShell
      @/@swtMenus1/@runShell/@runShellAnotherThread
      sname
      importXml
      slabel
      从XML中导入
      surl
      xworker.lang.MetaDescriptor3/@actions1/@menu_importXML
      sisSplit
      false
      sattachParam
      true
      sen_label
      Run in new Thread
      sdescriptors
      xworker.lang.ThingMenu/@menuSetting/@menu
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      runShellAnotherThread
      @/@swtMenus1/@runShell/@openInIde
      sname
      importJson
      slabel
      从JSON中导入
      surl
      xworker.lang.MetaDescriptor3/@actions1/@menu_importJSON
      sisSplit
      false
      sattachParam
      true
      sen_label
      Import from JSON
      sdescriptors
      xworker.lang.ThingMenu/@menuSetting/@menu
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      openInIde
  @/@actions1
  sname
  actions
  sdescriptors
  xworker.lang.MetaDescriptor2/@actions
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  actions1
    @/@actions1/@menu_importXML
    sname
    menu_importXML
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    svarScope
    Local
    sdisableGlobalContext
    false
    Scode
#$@text#$@
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.MessageBox;

import org.xmeta.ActionContext;

//打开显示窗体
def shellObj = world.getThing("xworker.swt.ide.worldexplorer.swt.dialogs.MetaThingImportXML");
ActionContext context = new ActionContext();
context.put("parent", explorerContext.shell);
context.put("currentThing", currentThing);
context.put("refreshMenuSelection", refreshMenuSelection);
def newShell = shellObj.doAction("create", context);

newShell.open();
#$@text#$@
    sinterpretationType
    Action
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.Actions/@GroovyAction
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    menu_importXML
    @/@actions1/@menu_importJSON
    sname
    menu_importJSON
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    svarScope
    Local
    sdisableGlobalContext
    false
    Scode
#$@text#$@
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.MessageBox;

import org.xmeta.ActionContext;

//打开显示窗体
def shellObj = world.getThing("xworker.swt.ide.worldexplorer.swt.dialogs.MetaThingImportJson");
ActionContext context = new ActionContext();
context.put("parent", explorerContext.shell);
context.put("currentThing", currentThing);
context.put("refreshMenuSelection", refreshMenuSelection);
def newShell = shellObj.doAction("create", context);

newShell.open();
#$@text#$@
    sinterpretationType
    Action
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.Actions/@GroovyAction
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    menu_importJSON
